Chat Element
The base type for all chat elements in a conversation.
A ChatElement represents a single item in the chat timeline — a message, file, system event, carousel, quick reply, or scheduling picker. The SDK delivers instances of concrete subclasses through ChatEventListener.onChatElementReceived.
Subclasses:
IncomingChatElement: an incoming text message from an agent or bot.
IncomingAttachmentElement: an incoming file attachment (image, document, video, etc.).
CarouselChatElement: a horizontally scrollable set of rich cards.
QuickReplyChatElement: a set of suggested reply buttons.
TimeSlotPickerChatElement: a scheduling picker with available time slots.
ListPickerChatElement: a picker with a structured list of selectable options.